package com.cloud.pole.advert.service;

import java.util.List;

import com.cloud.pole.advert.model.entity.Advert;
import com.github.pagehelper.PageInfo;

/*
*2019年2月7日
*cloud-advert
*author:frank-chen
*/
public interface AdvertService {
	
	public List<Advert> getAdvertList(Integer advertPosId) throws Exception;
	
	public List<Advert> getAdvertListByShopId(Integer shopId, Integer advertPosId) throws Exception;
	
	public void modifyShopAdvertList(Integer shopId, Integer merchantId, Integer advertPosId, List<String> advertList) throws Exception;
	
	public PageInfo<Advert> selectPageShopGoodsGroupAdminList(Integer pageNo,
			Integer pageSize,Integer shopId) throws Exception;
	
	public void addBanner(String token,Advert advert) throws Exception;
	
	public Advert selectById(Integer advertId) throws Exception;
	
	public void updateBanner(Advert advert) throws Exception;
	
	public void deleteBanner(Integer advertId) throws Exception;
}
